package com.zhengxyou.jetpackdemo.greenDao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

@Entity(nameInDb = "greenDao_user_info")
public class GUserInfo {
    @Id
    private Long id;
    private String address;//默认的列名,大写
    @Property
    private String company;
    @Property(nameInDb = "mobel_phone")
    private String phone;

    @Generated(hash = 1495033536)
    public GUserInfo(Long id, String address, String company, String phone) {
        this.id = id;
        this.address = address;
        this.company = company;
        this.phone = phone;
    }

    @Generated(hash = 1980449544)
    public GUserInfo() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCompany() {
        return this.company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


}
